<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <script>
        window.onload = function()
        {
            console.log(4);
        }
    </script>
   
</head>
<body>
   <div id="box">1</div>
   <img src="./imgs/mm001.jpg" onload="alert(2)">
<script>
    console.log(3);
</script>
</html>